package org.example.compent;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.annotation.LiteflowMethod;
import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.enums.LiteFlowMethodEnum;
import com.yomahub.liteflow.enums.NodeTypeEnum;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@LiteflowComponent
public class JCmp{

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS, nodeId = "j", nodeType = NodeTypeEnum.COMMON)
    public void process(NodeComponent component) throws Exception {
        log.info("------j结点--------");
    }
}
